<!--============my profile tab pan==========================-->
<!--my profile section starts-->
<section id="my-profile">
    <div class="container mopo">
        <div class="basket-left col-md-6 col-sm-6 padding-zero-left column6" id="profile-pic">
            <?php $trainerProfileImage = (!empty($profiles->photo)) ? getRequestbaseUrl() . getuploadFolderDir() . $profiles->user_id . '/profile/432X324/' . $profiles->photo : getWorkNoshopimage(SkillConfig::skill_trainer_profile); ?>
            <figure>
                <img src="<?php echo $trainerProfileImage; ?>" alt="trainer_profile pic" class="img-responsive">
                <span onclick="editprofile();">edit profile</span>
            </figure>
        </div>

        <div class="basket-right col-md-6 col-sm-6 column6">
            <h1> <?php echo $profiles->first_name . '  ' . $profiles->last_name; ?></h1>
            <p>Member since <?php echo date('d M Y', $profiles->user->createtime); ?></p>
            <hr>
            <ul class="list-unstyled icons">
                <li class="target"><a href="<?php echo $profiles->facebook; ?>"></a></li>
                <li class="target"><a href="<?php echo $profiles->twitter; ?>"></a></li>
                <li class="target"><a href="<?php echo $profiles->linkedin; ?>"></a></li>
                <li class="target"><a href="javascript:void(0);"  onclick="checkProfile('Classes/Create');">Create a workshop</a></li>
                <li class="pull-right target"><a href="javascript:void(0);"  onclick="checkProfile('Courses/Create');">Create A Course</a></li>

            </ul>

            <section class="recomends">

                <div class="recomend-sec">
                    <div class="container">
                        <div class="recomend-people">
                            <span><?php echo (!empty($classtotalCountTrainerate)) ? $classtotalCountTrainerate : 'No'; ?></span>
                            Recommendations
                        </div>
                        <div class="recomend-rating">
                            Rating: <span><?php echo (!empty($classTrainerRate)) ? $classTrainerRate . '%' : '0%'; ?></span>Positive
                        </div>
                    </div> 
            </section><!--recomend end here--> 


        </div>  
    </div>
</section> 
<!--my profile section ends-->
<!--my-profile detail section starts-->
<section id="profile-detail">
    <div class="row">
        <div class="container mopo">
            <div class="col-lg-7 col-md-7 col-sm-7 mopo column7">
                <!-- <div class="tab-header"> -->
                <ul id="profileTab" class="nav nav-tabs">
                    <li class="active"><a data-target="#about" data-toggle="tab">about me</a></li>
                    <li><a data-target="#experience" data-toggle="tab">experience</a></li>
                    <li><a data-target="#information" data-toggle="tab">information</a></li>
                </ul>

                <!-- </div> -->

                <!--============= Tab content div ===========-->
                <div class="tab-content" >
                    <!--========ABOUT ME TAB STARTS=========-->
                    <div class="tab-pane active">
                        <article>
                            <?php echo $profiles->about; ?>
                        </article>
                    </div>
                    <!--==========ABOUT ME TAB ENDS======-->

                    <!--==========EXPETIENCE TAB STARTS======-->
                    <div class="tab-pane" id="experience">
                        <article>
                            <?php echo $profiles->experience; ?>
                        </article>
                    </div>
                    <!--==========EXPERIENCE TAB ENDS======-->
                    <!--==========INFORMATION TAB STARTS ======-->
                    <div class="tab-pane" id="information">
                        <article>
                            <?php echo $profiles->other_info; ?>
                        </article>
                    </div>
                    <!--==========INFORMATION TAB ENDS======-->
                </div> 
                <!--========= tab content div ends========== -->

            </div>
            <div class="col-lg-5 col-md-4 col-sm-4 column5">
                <?php /* ---------render page reviewpage for view all  review start ---------------- */ ?>
                <?php $this->renderPartial('/trainerProfileReview/_viewReview', array('profiles' => $profiles,'userType' => 'frontend')); ?>
                <?php /* ---------render page reviewpage end---------------- */ ?>


            </div>
        </div>
    </div><!--row ends here-->
</section>
<!--my-profile detail section ends-->

